#ifndef _MULTPROCESSOR_
#define _MULTPROCESSOR_

#include <iostream>
#include "../processor/processor.h"
#include "../comlink/linkslist/linkslist.h"


class MultProcessor
{
  Processor ** processorMatrix;
  LinksList * links;
  int rows;
  int columns;

  void SetPhysicalLinks(void);

public:
  MultProcessor(int width, int height);
  ~MultProcessor(void);

  void SetProcessorPixel(int x, int y, bool value);
  void ClockAllProcessors(void);
  bool AreAllProcessorsComplete(void);

  void PrintProcessorBuildLabels(void);
  void PrintProcessorPixels(void);

};

#endif
